﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Group3.Framework.Extensions;
using Group3.Framework.Exceptions;
using Group3.MediaTool.Interface;

namespace Group3.MediaTool.Core.ObjectGenerator
{
    /// <summary>
    /// @Version: 1.0
    /// @Author: Pascal Senjic
    /// @Comment:
    ///     FieldDefinition represents the structure of a data field in an object model.
    /// </summary>
    public class FieldDefinition : Group3.MediaTool.Interface.IFieldDefinition
    {        
        #region MemberVariables
        
        private e_ValueType valueType;
        private string fieldName;
        private bool isKey;
        #endregion

        #region Public Properties

        public e_ValueType ValueType 
        { 
            get { return valueType; } 
            set { valueType = value; } 
        }
        public string FieldName
        {
            get { return fieldName; }
            set { fieldName = value; }
        }
        public bool IsKey
        {
            get { return isKey; }
            set { isKey = value; }
        }
        #endregion
    }
}
